﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DepartmentWork.Model
{
    /// <summary>
    /// 工作状态
    /// </summary>
    public class ProjectDeskWorkState
    {

        /// <summary>
        /// 未完成的所有工作
        /// </summary>
        public DataSet DeskWorkNo { get; set; }

        /// <summary>
        /// 已完成的所有工作
        /// </summary>
        public DataSet DeskWorkYes { get; set; }
 
    }


    /// <summary>
    /// 工作表ViewModel
    /// </summary>
    public class ProjectDeskWorkViewModel
    {
        
        /// <summary>
        /// 工作ID
        /// </summary>
        public Guid DESKWORK_ID { get; set; }

        /// <summary>
        /// 工作编号
        /// </summary>
        public string DESKWORK_NO { get; set; }

        /// <summary>
        /// 工作名称
        /// </summary>
        public string DESKWORK_NAME { get; set; }

        /// <summary>
        /// 工作负责人
        /// </summary>
        public string DESKWORK_PRINCIPAL { get; set; }

        /// <summary>
        /// 工作描述(内容)
        /// </summary>
        public string DESKWORK_DESCRIBE { get; set; }

        /// <summary>
        /// 工作创建时间
        /// </summary>
        public DateTime DESKWORK_CREATETIME { get; set; }


        /// <summary>
        /// 发布人
        /// </summary>
        public string DESKWORK_FOUNDER { get; set; }

        /// <summary>
        /// 工作状态
        /// </summary> 
        public string DESKWORK_STATUS { get; set; }

        /// <summary>
        /// 工作结束时间
        /// </summary>
        public DateTime DESKWORK_OVERTIME { get; set; }



        /// <summary>
        /// 完成期限
        /// </summary>
        public DateTime DESKWORK_DEADINE { get; set; }

 


        /// <summary>
        /// 操作状态
        /// 1 提交
        /// 2 驳回
        /// </summary>
        public int DESKWORK_EDITOR { get; set; }



        /// <summary>
        /// 工作创建时间(查询用)
        /// </summary>
        public string DESKWORK_CREATETIME_SELCET { get; set; }


        /// <summary>
        /// 完成期限(查询用)
        /// </summary>
        public string DESKWORK_DEADINE_SELCET { get; set; }


        /// <summary>
        /// 工作结束时间(查询用)
        /// </summary>
        public string DESKWORK_OVERTIME_SELCET{ get; set; }


        /// <summary>
        /// 负责人ID
        /// </summary>
        public Guid DESKWORK_PRINCIPAL_ID { get; set; }

    }
}
